<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exil:  Fichier source de src/Relation.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exil
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">src/Relation.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_relation_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef RELATION_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define RELATION_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00018"></a><a class="code" href="struct_relation.html">00018</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00019"></a>00019 {
<a name="l00020"></a><a class="code" href="struct_relation.html#a8b809278753d0d06ae3976639c671dd6">00020</a>   <span class="keywordtype">int</span> <a class="code" href="struct_relation.html#a8b809278753d0d06ae3976639c671dd6">commerce</a>;         
<a name="l00021"></a><a class="code" href="struct_relation.html#af19133107dfd81ca039b6ad87da519d2">00021</a>   <span class="keywordtype">int</span> menaceMilitaire;  
<a name="l00023"></a><a class="code" href="struct_relation.html#a65692cfbe1774fc5cd736ac84f6c84d7">00023</a>   <span class="keywordtype">int</span> <a class="code" href="struct_relation.html#a65692cfbe1774fc5cd736ac84f6c84d7">empathie</a>;         
<a name="l00024"></a>00024 } <a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a>;
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="comment">/*================================Fonctions=================================*/</span>
<a name="l00027"></a>00027 
<a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="_relation_8h.html#adbcddf1852dec1beb3a09998ca2e6ea6" title="initialise les valeurs d&#39;une relation">initRelation</a>(<a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> *relation, <span class="keyword">const</span> <span class="keywordtype">int</span> valCommerce, <span class="keyword">const</span> <span class="keywordtype">int</span> valMenaceMilit, <span class="keyword">const</span> <span class="keywordtype">int</span> valEmpathie);
<a name="l00033"></a>00033 
<a name="l00038"></a>00038 <span class="keywordtype">int</span> <a class="code" href="_relation_8h.html#abd8a7170f9bc333f8eadef2171e051a2" title="récupère la valeur qui quantifie les relations commerciales">getCommerce</a>(<span class="keyword">const</span> <a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> relation);
<a name="l00039"></a>00039 
<a name="l00044"></a>00044 <span class="keywordtype">int</span> <a class="code" href="_relation_8h.html#a93b2c1389be84cf193b49adc9ea128a6" title="récupère la valeur qui quantifie le taux d&#39;hostilité dans la relation">getMenaceMilt</a>(cont <a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> relation);
<a name="l00045"></a>00045 
<a name="l00050"></a>00050 <span class="keywordtype">int</span> <a class="code" href="_relation_8h.html#a97ff757d36e2de0799e671981645d954" title="récupère la valeur d&#39;empathie dans la relation">getEmpathie</a>(<span class="keyword">const</span> <a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> relation);
<a name="l00051"></a>00051 
<a name="l00056"></a>00056 <span class="keywordtype">void</span> <a class="code" href="_relation_8h.html#ac9f5232a3c44cdd2b385b3cb5dcd23f9" title="ajoute la valeur donnée en paramètre à la valeurs de commerce de la relation">setCommerce</a>(<a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> *relation, <span class="keyword">const</span> <span class="keywordtype">int</span> varCommerce);
<a name="l00057"></a>00057 
<a name="l00062"></a>00062 <span class="keywordtype">void</span> <a class="code" href="_relation_8h.html#a536cd6feefbb04480a5f948994fb4205" title="ajoute la valeur donnée en paramètre à la valeurs d&#39;animosité de la relation">setMenaceMilit</a>(<a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> *relation, <span class="keyword">const</span> <span class="keywordtype">int</span> varMenaceMilit);
<a name="l00063"></a>00063 
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="_relation_8h.html#a07913528f287346273e8a1c0efb8edff" title="ajoute la valeur donnée en paramètre à la valeurs d&#39;empathie de la relation">setEmpathie</a>(<a class="code" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a> *relation, <span class="keyword">const</span> <span class="keywordtype">int</span> varEmpathie);
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="preprocessor">#endif</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définitions de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Mardi Juin 4 2013 00:35:14 pour Exil par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
